package org.kongqian.basic.mapper;

import org.kongqian.basic.query.BaseQuery;

import java.io.Serializable;
import java.util.List;

public interface BaseMapper<T> {
    void insert(T t);

    void deleteById(Serializable id);

    void updateById(T t);

    List<T> selectAll();

    T selectById(Serializable id);

    List<T> CurrentPageData(BaseQuery query);

    Integer queryTotal(BaseQuery query);
}
